using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Text.RegularExpressions;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using CollegeShop.Infrastructure.Entities.Repository;

namespace CollegeShop.Infrastructure.Entities
{
    public class Context : DbContext
    {
        public Context()
            : base("name=Context")
        {
            Database.SetInitializer<Context>(null);
        }

        public DbSet<T_Resource> Resource { get; set; }
        public DbSet<T_Anonymous> Anonymous { get; set; }
        public DbSet<T_Authority> Authority { get; set; }
        public DbSet<T_Centalstock> Centalstock { get; set; }
        public DbSet<T_Deliveryaddress> Deliveryaddress { get; set; }
        public DbSet<T_Dormitory> Dormitory { get; set; }
        public DbSet<T_Financecycle> Financecycle { get; set; }
        public DbSet<T_Fundsreport> Fundsreport { get; set; }
        public DbSet<T_Goods> Goods { get; set; }
        public DbSet<T_Goodscategory> Goodscategory { get; set; }
        public DbSet<T_Goodsreport> Goodsreport { get; set; }
        public DbSet<T_Issue> Issue { get; set; }
        public DbSet<T_Issuedetail> Issuedetail { get; set; }
        public DbSet<T_Ontimeset> Ontimeset { get; set; }
        public DbSet<T_Order> Order { get; set; }
        public DbSet<T_Orderdetail> Orderdetail { get; set; }
        public DbSet<T_Orderhistory> Orderhistory { get; set; }
        public DbSet<T_Payedprovider> Payedprovider { get; set; }
        public DbSet<T_Provider> Provider { get; set; }
        public DbSet<T_Purchase> Purchase { get; set; }
        public DbSet<T_Purchasedetail> Purchasedetail { get; set; }
        public DbSet<T_Putin> Putin { get; set; }
        public DbSet<T_Putindetail> Putindetail { get; set; }
        public DbSet<T_Role> Role { get; set; }
        public DbSet<T_Roleauthority> Roleauthority { get; set; }
        public DbSet<T_Royaltyset> Royaltyset { get; set; }
        public DbSet<T_Salaryreport> Salaryreport { get; set; }
        public DbSet<T_Salesunit> Salesunit { get; set; }
        public DbSet<T_Salesunitgoodsreport> Salesunitgoodsreport { get; set; }
        public DbSet<T_Salesunitstock> Salesunitstock { get; set; }
        public DbSet<T_User> User { get; set; }
        public DbSet<T_Userrole> Userrole { get; set; }
        public DbSet<T_SaleList> SaleList { get; set; }
    }
}
